<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
	<style type="text/css">
		html{
			width:100%;
			height:98%;
		}
		body{
			width:99%;
			height:90%;
			background-image: url("img/qq.jpg");
		}
		#tile{
			
			margin: 0px auto;
			margin-top:3%;
			font-size:50px;
			width:100%;
			color: #cc3399;
		}
		#t{
			width:100%;
			padding-top:5%;
			margin:0 auto;
		}
	</style>
</head>
<body>
	<div id="tile"> <center><label>考试列表</label> </center> </div>
	<div id="t">
	<center>
	<table border="1">
		<tr>
			<td> 考试名称</td>
			<td style="text-align:center;"> 考试时间</td>
			<td> 选择操作</td>
		</tr>
		<%
			try{
			String[] exam = ((String)request.getAttribute("exam")).split("\u0001");
			for(int i=0;i<exam.length;i++){
				String[] wap = exam[i].split("\u0002");
				if(wap.length!=5) continue;
		%>
			<tr>
				<td> <%=wap[0] %> </td>
				<td> <%=wap[1] %>  </td>
				<td> <a href=<%="showStudent.view?examName="+wap[0] %>>查看此考试</a> </td>
			</tr>
		<% } }catch(Exception e){out.print(e.getMessage());}%>
	</table>
	</center>
	</div>
</body>
</html>